﻿using System;

namespace Hx.Domain.Model
{
    public class Article : AggregateRoot
    {
        /// <summary>
        ///     标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        ///     摘要
        /// </summary>
        public string Summary { get; set; }

        /// <summary>
        ///     文章内容
        /// </summary>
        public string ArticleContent { get; set; }

        /// <summary>
        ///     作者ID
        /// </summary>
        public Guid AuthorId { get; set; }

        /// <summary>
        ///     分类ID
        /// </summary>
        public Guid CategoryId { get; set; }

        /// <summary>
        ///     阅读量
        /// </summary>
        public int ReadCount { get; set; }

        /// <summary>
        ///     评论数
        /// </summary>
        public int CommentCount { get; set; }

        public bool Status { get; set; }
    }
}